package com.axiyue.trip.response;

import java.text.ParseException;

public class SpecTicket {
	private String date;
	private double price;

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getFormatDate() {
		try {
			return TripUtil.DF_MM_DD.format(TripUtil.DF_YYYY_MM_DD.parse(date));
		} catch (ParseException e) {
			e.printStackTrace();
		}
		return date;
	}

}
